package com.poor.user.service.model;

import org.apache.ibatis.annotations.Param;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "poor_user")
public class PoorUser extends BaseBean{
    /**
     * 用户编号（也可以作为登录账号使用）
     */
    @Id
    @Column(name = "userNo")
    private Integer userNo;

    /**
     * 用户密码(8到16位数字加英文)
     */
    @Column(name = "userPassWord")
    private String userPassWord;

    @Column(name = "userPhone")
    private String userPhone;

    @Column(name = "userEmail")
    private String userEmail;
    /**
     * 用户姓名
     */
    @Column(name = "userSex")
    private String userSex;

    /**
     * 用户头像
     */
    @Column(name = "userHeadUrl")
    private String userHeadUrl;

    /**
     * 用户昵称
     */
    @Column(name = "userNickName")
    private String userNickName;


    /**
     * 用户账号(8到16位英文加数字)
     */
    @Column(name = "userAccountNo")
    private String userAccountNo;

    /**
     * 用户微信u_id(微信登录的唯一标识)
     */
    @Column(name = "userWXunionId")
    private String userWXunionId;

    /**
     * 用户积分
     */
    @Column(name = "userIntegral")
    private Integer userIntegral;
    /**
     * 用户签到时间
     */
    @Column(name = "userSignTime")
    private Date userSignTime;

    public Integer getUserNo() {
        return userNo;
    }

    public void setUserNo(Integer userNo) {
        this.userNo = userNo;
    }

    public String getUserPassWord() {
        return userPassWord;
    }

    public void setUserPassWord(String userPassWord) {
        this.userPassWord = userPassWord;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getUserEmail() {
        return userEmail;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail;
    }

    public String getUserSex() {
        return userSex;
    }

    public void setUserSex(String userSex) {
        this.userSex = userSex;
    }

    public String getUserHeadUrl() {
        return userHeadUrl;
    }

    public void setUserHeadUrl(String userHeadUrl) {
        this.userHeadUrl = userHeadUrl;
    }

    public String getUserNickName() {
        return userNickName;
    }

    public void setUserNickName(String userNickName) {
        this.userNickName = userNickName;
    }

    public String getUserAccountNo() {
        return userAccountNo;
    }

    public void setUserAccountNo(String userAccountNo) {
        this.userAccountNo = userAccountNo;
    }

    public String getUserWXunionId() {
        return userWXunionId;
    }

    public void setUserWXunionId(String userWXunionId) {
        this.userWXunionId = userWXunionId;
    }

    public Integer getUserIntegral() {
        return userIntegral;
    }

    public void setUserIntegral(Integer userIntegral) {
        this.userIntegral = userIntegral;
    }

    public Date getUserSignTime() {
        return userSignTime;
    }

    public void setUserSignTime(Date userSignTime) {
        this.userSignTime = userSignTime;
    }

    @Override
    public String toString() {
        return super.toString();
    }
}